Boolean Class

Boolean is an intrinsic data type in REALbasic. A Boolean can only take on the values of True or False.

Events

None

Properties

None

Methods

None

The default value is False.

Boolean values are False by default but can be set to True using REALbasic's True keyword and back to False using the False keyword. Some of the properties of objects in REALbasic are Boolean values. In the Properties pane, they appear as checkboxes.

The VarType function returns 11 when passed a Boolean variable.


Example

The following statement disables an EditField, making it non-enterable and non-selectable (i.e., the user can't tab into it).

EditField1.Enabled= False

See Also

False, True, VarType functions; Dim statement; And, Not, Or operators.